<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
<?php echo strtoupper($web);?> 
	
<?php echo $name;?>
	
		<?php
	require_once 'db.php';
	$sql = "select * from stu  WHERE sex=2 limit 10 ";
	$obj =new Db;
	$result = $obj->query($sql);
	foreach($result as $field):?>
	
		<li>
			<!-- <?php echo $field['username'];?> <?php echo $field['sex'];?> -->
		</li>
	;
	<?php endforeach;?>
	<hr/>
		<?php
	require_once 'db.php';
	$sql = "select * from stu  limit 3 ";
	$obj =new Db;
	$result = $obj->query($sql);
	foreach($result as $field):?>
	
		<li>
			<!-- <?php echo $field['username'];?> <?php echo $field['sex'];?> -->
		</li>
	;
	<?php endforeach;?>
</body>
</html>